home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…ry 5: (Reseller Edition) / Apple Reference & Presentations Library 5.0 (Reseller Edition).iso / 5-Fonts & Software / Applications / Aldus PageMaker 3.02 / APDs / QMS-PS 800.apd < prev    next >
Text File  |  1988-11-15  |  8KB  |  201 lines

  1. @Comment: "QMS-PS 800.apd"
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   3.2  $
  4. @Comment:     $Date:   25 Feb 1988 16:58:56  $
  5. @Comment: This APD produced for use with Aldus PageMaker 2.0, 2.0a, and 3.0
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(QMS-PS 800)"
  10. @PSVersion: "(46.1)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file, to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "350000"
  21. @Comment: Actual value is @FreeVM: "412000"
  22. @WorkingMem: "25000"
  23. @AldusHeaderMem: "34000"
  24. @Comment: Example of declaration of a downloadable font's memory requirement:
  25. @Comment: @FontMem "Benjo-Light": "82600"
  26.  
  27. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  28. @PatchFile: "statusdict begin 0 setjobtimeout end userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  29. @AldusPatchFile: ""
  30. @ExitServer: "serverdict begin exitserver "
  31. @Password: "0"
  32.  
  33. @DefaultScreenFreq: "60"
  34. @DefaultScreenAngle: "45"
  35. @DefaultScreenProc: "{abs exch abs 2 copy add 1 gt 
  36. {1 sub dup mul exch 1 sub dup mul add 1 sub} {dup mul exch dup mul add 1 exch sub}ifelse}"
  37. @End
  38.  
  39. @ScreenFreq: ""
  40. @ScreenAngle: ""
  41. @ScreenProc: ""
  42.  
  43. @InvertScreenProc: "{abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul 
  44. add 1 exch sub}{dup mul exch dup mul add 1 sub} ifelse}"
  45. @End
  46. @Transfer: ""
  47. @InvertTransfer: "{1 exch sub}"
  48.  
  49. @NormalizedTransfer: "{
  50. mark
  51. 1.0 1.0 .98 .9 .82 .68 .56 .48 .28 .1 .06 .0
  52. counttomark dup 3 add -1 roll exch
  53. 2 sub mul dup floor cvi
  54. dup 3 1 roll sub
  55. exch dup 
  56. 3 add index exch 2 add index dup
  57. 4 1 roll
  58. sub mul add
  59. counttomark 1 add 1 roll 
  60. cleartomark
  61. } bind"
  62. @End
  63.  
  64. @InvertNormalizedTransfer: "{
  65. mark
  66. .0 .0 .06 .1 .28 .48 .56 .68 .82 .9 .98 1.0
  67. counttomark dup 3 add -1 roll exch
  68. 2 sub mul dup floor cvi
  69. dup 3 1 roll sub
  70. exch dup 
  71. 3 add index exch 2 add index dup
  72. 4 1 roll
  73. sub mul add
  74. counttomark 1 add 1 roll 
  75. cleartomark
  76. } bind"
  77. @End
  78.  
  79. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  80. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  81. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  82. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush 
  83.  statusdict begin 0 setjobtimeout end userdict "
  84. @?OutputOrder: "/pagestackorder where{pagestackorder {(facedown)}{(faceup)}
  85.  ifelse}{(faceup)}ifelse = flush"
  86. @Comment: Paper tray query compares returned value with selected PageSize,
  87. @Comment:    up to length of returned value only: i.e, "A4" matches "A4small"
  88. @?PaperTray: "mark () statusdict /printerstatus known {
  89. userdict /T statusdict /printerstatus get exec 16#07E and put 
  90.  T 2 eq {(A4)} if T 8 eq {(Letter)} if T 24 eq {(Legal)} if} if 
  91.  = flush cleartomark"
  92. @End
  93.  
  94. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  95. @DefaultPageSize:        "Letter"
  96. @PageSize Letter:        "letter"
  97. @PageSize A4:            "a4"
  98. @PageSize B5:            "b5"
  99. @PageSize Legal:        "legal"
  100.  
  101. @Comment: PageRegion gives the printable area of each paper option.
  102. @PageRegion Letter:     "18 2.88 594 789.12"
  103. @PageRegion A4:         "17.29 17.15 577.99 824.74"
  104. @PageRegion B5:         "7.37 12.90 491.53 695.77"
  105. @PageRegion Legal:         "18 18 594 990"
  106.  
  107. @Comment: PaperDimension gives the total paper size of each option.
  108. @PaperDimension Letter:     "612 792"
  109. @PaperDimension A4:         "595.28 841.89"
  110. @PaperDimension B5:         "498.90 708.66"
  111. @PaperDimension Legal:         "612 1008"
  112.  
  113. @DefaultOutputOrder: "faceup"
  114.  
  115. @ManualFeed true: "statusdict begin /manualfeed true def end"
  116. @ManualFeed false: "statusdict begin /manualfeed false def end"
  117.  
  118. @DefaultFont: "Courier"
  119. @Font "Times-Roman": "Standard" "(001.000)"
  120. @Font "Times-Bold": "Standard" "(001.000)"
  121. @Font "Times-Italic": "Standard" "(001.000)"
  122. @Font "Times-BoldItalic": "Standard" "(001.000)"
  123. @Font "Helvetica": "Standard" "(001.000)"
  124. @Font "Helvetica-Bold": "Standard" "(001.000)"
  125. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  126. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  127. @Font "Courier": "Standard" "(001.000)"
  128. @Font "Courier-Bold": "Standard" "(001.000)"
  129. @Font "Courier-Oblique": "Standard" "(001.000)"
  130. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  131. @Font "Symbol": "Standard" "(001.000)"
  132.  
  133.  
  134. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  135. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  136.  
  137. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed\lost\ ]%%"
  138.                 : "Printer “^2” needs attention: paper jam."
  139. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  140.                 : "Printer “^2” needs attention: \Reason\."
  141.  
  142. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  143.                 : "Printer “^2” needs attention: paper jam."
  144. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  145.                 : "Printer “^2” needs attention: \Reason\."
  146.  
  147. @ParameterReason    "no paper tray" :         "no paper tray"
  148. @ParameterReason    "out of paper" :         "out of paper"
  149. @ParameterReason    "cover open" :             "cover open"
  150. @ParameterReason    "warming up" :             "warming up"
  151. @ParameterReason    "service call" :         "service call"
  152. @ParameterReason    "resetting printer" :     "resetting printer"
  153. @ParameterReason    "cover open" :             "cover open"
  154. @ParameterReason    "timeout, clearing printer" : "timeout"
  155. @ParameterReason    "timeout" :             "timeout"
  156. @ParameterReason    "manual feed timeout" : "manual feed timeout"
  157. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  158.  
  159.  
  160. @Comment: PrinterMessage displays the translation string in the status line.
  161. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  162.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  163. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  164.                 : "Document: \jobname\;  status: \Status\."
  165. @PrinterMessage     "status: \Status\; source: \source\"
  166.                 : "Status: \Status\."
  167. @PrinterMessage     "\Font1\ not found, using \Font2\"
  168.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  169.  
  170. @ParameterStatus     "idle"    : "idle"
  171. @ParameterStatus     "busy"    : "processing job"
  172. @ParameterStatus     "waiting"    : "preparing data"
  173. @ParameterStatus    "printing"    : "printing"
  174.  
  175. @Comment: a null translation string causes no message to display.
  176. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  177.                 : ""
  178. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  179.                 : ""
  180.  
  181. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  182. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  183. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  184.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  185.  
  186. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  187. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  188.                 : "The font being downloaded has not been initialized for this printer."
  189. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  190.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  191. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  192.                 : "The printer had to wait too long, and went on to the next job; try again."
  193. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  194.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  195. @PrinterErrorAlert    "Fatal system error \error\"
  196.                 : "The printer has encountered an error. Simplify your document or try again."
  197.  
  198.  
  199.  
  200.  
  201.